-- GENERATED SPELL FOR [Gargoyle] --


function spell0_17906(pUnit, Event) --@Gargoyle Strike,n/a--
pUnit:FullCastSpellOnTarget(31664,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17906', 1500, 1)
end

function Sorts_17906(pUnit, Event)
local choix_sorts_17906 = math.random(0, 0)
if choix_sorts_17906 == 0 then
pUnit:RegisterEvent('spell0_17906', 1, 1)
end
end

function mob17906_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17906', math.random(1500, 3000), 1)
end

function mob17906_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17906_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17906_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17906, 1, 'mob17906_Action')
RegisterUnitEvent(17906, 2, 'mob17906_Leave')
RegisterUnitEvent(17906, 3, 'mob17906_Kill')
RegisterUnitEvent(17906, 4, 'mob17906_Die')
